import { get, post } from "@/utils/request";
// 分页查询
export function queryPageList(query) {
  return get("/mgxxServer/host/pageList", query);
}
// 生成或验证编号
export function getNo(id,no) {
  return get("/mgxxServer/host/getNo",{ id ,no});
}

//编辑
export function editDatas(query) {
  return post("/mgxxServer/host/editHost", query);
}

//卸载
export function hostUninstall(query) {
  return post("/mgxxServer/host/hostUninstall", query);
}

export function deleteDatas(ids) {
  return get("/mgxxServer/host/deleteBatch", { ids });
}


